<%--
  Created by IntelliJ IDEA.
  User: yangrunke
  Date: 2024/8/2
  Time: 下午5:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        input{
            display: block;
            outline: none;
            height: 40px;
            width: 250px;
            margin: 10px auto;
        }
        #button{
            width: 140px;
            height: 50px;
            background-color: deeppink;
            margin: 10px auto;
            display: block;
            border: 0;
        }
    </style>
</head>
<body>
<form action="/empupdate" method="post">
    <input type="text" placeholder="编号" name="empno" id="empno" value="${emp.empno}">
    <input type="text" placeholder="姓名" name="ename" id="ename" value="${emp.ename}">
    <input type="text" placeholder="职位" name="job" id="job" value="${emp.job}">
    <input type="text" placeholder="薪资" name="sal" id="sal" value="${emp.sal}">
    <input type="text" placeholder="部门" name="dname" id="dname" value="${emp.dept.dname}">
    <button type="submit" id="button">提交</button>
</form>
</body>
</html>
